/*
 * Filename    : State_Menu_Help.java
 * Projectname : RamaShinta
 * Date        : Nov 25, 2012 , 10:33:41 AM 
 * 
 */

package com.amikomgamedev.ramashinta.state;

import android.view.KeyEvent;

public class State_Menu_Help extends State_Menu_Credit
{
	protected void create_State_Menu_Help()
	{
		graphic.attachHelpBg();
	}
	
	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event)
	{
		if (State_Menu_Current == STATE_MENU_HELP)
		{
			if (keyCode == KeyEvent.KEYCODE_BACK)
			{
			graphic.detachHelpBg();
				switchState(STATE_MENU_MAIN);
			}
		}
		return super.onKeyDown(keyCode, event);
	}

}
